package org.example.springbootdemo02.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.springbootdemo02.pojo.Product;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Page<T> {
    private Integer pageNum=1;
    private Integer pageSize=2;
    private Integer totalPage;
    private List<T> list;
    private String name;
    private Integer totalCount;
}
